@model Survey.Common.Models.IQuestionModel
@this.CreateForm()
@AddControls(
    new Fieldset("w48p mh50 ", "Question")
    {
        new DefinitionList
        {
            new TextOrInput().SetSourceProperty(() => Model.Filter.Title),
            new TextOrInput().SetSourceProperty(() => Model.Filter.Description),
        }
    })
@AddControls(
    new Fieldset("w49p mh50 ", "ValidUntil")
    {
        new DefinitionList
        {
            new TextOrInput().SetSourceProperty(() => Model.Filter.ValidUntilFrom),
            new TextOrInput().SetSourceProperty(() => Model.Filter.ValidUntilTo),
        }
    })
@AddControls(
    new Fieldset("w48p mh50 ", Str.Business.Common.Identification)
    {
        new DefinitionList
        {
            new RadioForNullableBool()
                .SetSourceProperty(() => Model.Filter.IsApproved)
                .ShowDescription(true),
            new TextOrInput(maxLength: 10)
                .SetSourceProperty(() => Model.Filter.IdExact),
        }
    })
@AddControls(
    new Fieldset("w49p mh50 ", "Answer")
    {
        new DefinitionList
        {
            new TextOrInput().SetSourceProperty(() => Model.Filter.AnswerTitle),
            new TextOrInput().SetSourceProperty(() => Model.Filter.AnswerDescription),
        }
    })
@AddControls(
    new AdjustListView
    {
        Type = AdjustListViewType.Fieldset,
        CssClassName = "w70p mh75"
    })
@this.CloseForm()